/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Manager_Image_Utils;

import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JLabel;

/**
 *
 * @author Admin
 */
public class ImageThumbnail extends JLabel{
    private BufferedImage imgLarger;
    private File f;
    private BufferedImage imagsmall;

    public BufferedImage getImgLarger() {
        return imgLarger;
    }

    public ImageThumbnail(File f, Icon image) {
        super(image);
        this.f = f;
    }

    public void setImgLarger(BufferedImage imgLarger) {
        this.imgLarger = imgLarger;
    }

    public File getF() {
        return f;
    }

    public void setF(File f) {
        this.f = f;
    }

    public BufferedImage getImagsmall() {
        return imagsmall;
    }

    public void setImagsmall(BufferedImage imagsmall) {
        this.imagsmall = imagsmall;
    }

    public ImageThumbnail(BufferedImage imgLarger, File f, BufferedImage imagsmall, Icon image) {
        super(image);
        this.imgLarger = imgLarger;
        this.f = f;
        this.imagsmall = imagsmall;
    }

    public ImageThumbnail(BufferedImage imgLarger, File f, BufferedImage imagsmall) {
        this.imgLarger = imgLarger;
        this.f = f;
        this.imagsmall = imagsmall;
        
    }
    
}
